Yeah--what matters is two means of egress. It doesn't matter what form they take. We live in a two-story house, the stairs are the only normal means of escape. But the building code requires bedrooms to have windows sufficient for a firefighter in full gear to go through and there's an emergency ladder stored next to the most accessible window in the one upstairs room actually used for sleeping.