No two quakes or buildings are the same and there is no hard and fast rule. One has to take into account where you are and what you might be capable of accomplishing in a very limited time frame.
On the 12th floor of an apartment building at 2:45 am, yeah you will probably not be able to get out in time and should protect yourself as best you can until the shaking stops. Being in a partially collapsed building is just the compromise one makes to live on the 12th floor to enjoy the view and be out of arms reach of the ladrones. If you live on the first floor of that building and can hop out a window or jump over your terrace railing you could be better off outside rather than have a portion of a building pancake your apartment.
You also need to look up. Back home, the materials using in the ceiling of schools, most homes and public spaces is usually suspended acoustic tile, drywall, lightweight ventilation ducts, wires and only the roof supports and the roofing itself have any heft to them. A desk or sturdy table can offer protection from that type of falling debris and might help create a cavity space that you can occupy until found.
In this country, concrete slab construction prevails and no table is going to stand up to a slab of concrete should one fall.
On the TV news we have all seen the pictures of these collapsed apartment building and other structures after a major earthquake and the difficulty involved in finding and extracting people. I do not see being buried in rubble waiting for some organized Dominican rescue effort to maybe find me and dig me out when it is 32 degrees in the shade day after day, without water and probably with a few broken bones to contend with. I think I would rather try and avoid that scenario at all costs, but that is just my reasoning based on what I consider my reasonable abilities and chances of success should I not ponder my options for too long and act quickly. In my case, I don't have far to go to get out of mi casa. Others who live in multistory dwellings and have to negotiate stairways, hallways and greater distances may have to make different decisions. If I run, don't stop to pick up the wife, and factoring in the time to flip the door lock, I figure I can be outside in 15 seconds by two routes and 30 seconds by another. Unfortunately, bars on the bedroom windows preclude that option.
People need a plan of action for all perils they may face before one is needed. Said plan may not be workable in all situations and may not work at all, but reacting practically and quickly to a potentially dangerous situation is often better than just hanging around to see what happens - in my opinion. A blanket course of action put forward by the authorities is meant to have people do something that might be better than doing nothing because it is impossible to give the best advice to everyone based on their individual circumstances. Yes under a table is better than standing in the middle of a room, but is not as good as being out under open sky if that is also an achievable possibility.
Where I live, I don't see a whole lot of aged gringos digging me out and based on the numbers of Dominicans that live near me, I'd say they aren't coming anytime soon. It will be a long time before int'l rescue teams arrive with basic equipment and the knowledge/experience to take over the adhoc response that the DR will be able to put forward in the meantime.