Yes, that is correct. Let's say the things are printers you could say: In which rooms are the printers located? This is formal wording for such a questions and you'd do better and sound more natural to say: Which rooms have the printers?
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.