The correct option is B Do you have any idea where does Carol live?
To form a question, the verb has to come first without changing the tense. Therefore, Option B is correct, as it conforms to the structure. The rest of the options do not conform to this structure, hence, these are incorrect.