Well, enemies has dispel, dimensional door and etc. I rather face a enemy with good IA than having ultra limited range.

That said, on P&P one time, my DM trowed elf arcane archers assassins at night sniping our party at 120m while all casters of my party was out of spells. If wasen't by a single lucky row, we would get killed.

Temple of Elemental Evil has P&P ranges for spells, i can hit enemies very far away with my fireball. As for resting, resting on pathfinder kingmaker where times matters and take supplies is a good solution. On Might & Magic VI, you can't rest spam, at least not before mid game. Light magic can create food and supplies and water mage allow you to teleport. But until you get it, you need to manage your supplies.