Thats the thing about EQ’s they come on so quick you go with what you got. Its usually better to shelter in place initially because people get killed by falling building facades but if I was in sight of a door I would set a land speed record making for it.
If you notice, often the only thing left standing is the doorway. Stand in the doorway, it’s the strongest part of the structure.