However! Recent theories suggest that standing underneath a typical doorway is no better than being any where else during an earthquake. They now teach people to drop to the ground, go underneath a table and hold on. This concept door from student Younghwa Lee kind of mimics being underneath a table while being underneath a doorframe, which in a way, sorta blends the two Earthquake schools of thought together.
If you haven't been in an Earthquake before, well damn, you're lucky. Get some practice before 2012.