I could see the interviewer asking such a question if the official interview was over, they were making small talk and the DUmmie mentioned something about their husbands work.
I never had a formal interview for my current job and never even filled out an application or other paperwork until after I was hired. Then again, it's a small privately owned company and very informal in most respects.