I would suggest it depends how well the building is constructed. Some filipino houses and businesses will collapse at a 6.0 earthquake because they are not designed, they are just thrown together. Well-built houses seem to do OK. I was downtown Cebu during the quake of Oct 2013 and it seemed to me the safest place was out in the middle of the street away from falling debris, but each situation is different and it depends how fast you can get out of the building.