A big component of P&P D&D is finding a safe place to rest, particularly for casters to concentrate or pray to replenish spells. Spell memorization planning was also important since you didn't know when you'd rest again.
A normal DM would never let you rest in the midst of combat or out in the open in a goblin camp.