I heard on a podcast from a local fire chief that with most home fires the occupants have only two minutes to get out safely. The reason is the smoke. Therefore, working and sufficient smoke alarms are so important to timely warn.
Having a plan of escape is the other important factor. This includes the ability to exit two ways from any room to the outside by door or window. The Red Cross has a helpful guide for people to read, discuss and document their escape routes, and post it in their home.