Couldn't it be solved by changing ress to it resses the player at their current location, the short invuln covering immunity against death walls and other unpleasant things?
5s should be enough to move your butt out of a death wall, no? Because death walls are currently the only reason why ressing someone where they are would be problematic.

And for the "but people could cheese with it!" - people already "cheese" with ress invuln. Taking a stack with someone at low HP, moving through danger zones unharmed etc.; that is just clever gameplay and making the most out of a death and ress. Nothing bad or cheesy about being able to move out of a death wall for 5s. Not like you want to be in there for any reason or could pull off some crazy stunts that only work in death walls.