Decided where to sleep if homeless? (6)
I believe the answer is:
intent
'decided' is the definition.
(thesaurus)
I can't explain the remainder of the clue.
Can you help me to learn more?
(Other definitions for intent that I've seen before include "set" , "With attention concentrated, bent on" , "Design, aim" , "Firm - plan - steadfast - purpose" , "Purpose, design" .)