There are 100 reasons that long rests should be restricted to specific locations, and on long rest, minor enemies should re-spawn.
Mainly, you can’t exploit it. It gates player progress in a logical manner for scripting purposes, it builds immersion instead of breaking it.
I always wondered where all those mobs I just killed came from in a respawn system. I mean, are there limitless numbers of mobs hanging out in a dungeon? How do they feed that population?
It's also really easy to exploit, just not the way you're thinking. Clear a couple of rooms, do a long rest, clear those rooms again, do a long rest, etc. etc. That is, essentially, how dungeons in MMOs work, after all, at least, in MMOs where they aren't instanced. In MMOs where they are, the vast majority of MMOs that I've played don't have respawns in the dungeon.