True- if you live in an old, unreinforced adobe house or some older wood-frame houses. In modern houses, doorways are no stronger than any other part of the house, and the doorway does not protect you from the most likely source of injury- falling or flying objects. You also may not be able to brace yourself in the door during strong shaking. You are safer under a table.