In harsh conditions, you can survive approximately 3 hours without shelter before hypothermia or heat stroke becomes life-threatening.
Protection from the elements is vital to prevent exposure (hypothermia/heatstroke) and provide security for rest. Without adequate shelter, the body cannot maintain core temperature or recover from stress.