Nah a whole bunch of jurisdictions made it so that with appropriate firewalls and other features there need be zero egress aside from the singular entrance/exit door.
Windows can be unopenable etc.,
It's literally because of hi rises and the issues with it being pointless to jump from 10+ stories (you'll also suffer less, as the smoke will make you pass out long before you're actually being burned).
Bedrooms have egress requirements
Apartments have window requirements (eg natural light)