Depends entirely on building construction. Generally, if you're above the fire floor, you have trouble, but don't count on a Helo rescue. That's stuff from the movies.
In a properly designed building, escape stairs are properly isolated from a fire floor. You do NOT want to be above a fire!
Just to give you a sense of how a well constructed & fireproofed building can withstand a fire (and the WTC was NOT - I repeat NOT well constructed or fireproofed) consider this video:
http://www.youtube.com/watch?v=E7-_fxHJB3UAnd now consider that the fire DID NOT jump up to consume all floors, and the smoke doors worked to keep the evacuation routes clear.