As someone who has spent too much of their life being homeless (living in a homeless shelter ATM), shelter comes in many forms, including a sleeping bag or tent.
Without ANY protection from the elements, depending on locale, 3 hours is totally doable or problematic.
No. They'll just die.