My understanding is that this structure is grammatically acceptable but rarely used. It is most common to immediately follow the question word with the verb.

From an English perspective it may help to remember that the subject is already contained in the Spanish verb conjugation, so what follows can be treated as additional information: "¿Dónde vive tu esposo?" can be read as "Where does he live (your husband)?"