You will need to check your local office of building codes and inspections to determine what type of emergency exit is required. In many locations it is enough to simply have a window to the outside. In other locations, however, you need to install a window with attached unfolding steps or ladder or even a second door opening to the outside.