Well, the Philippines is not and was not in Latin America, it is in Asia. Obviously this is true of geography, but I am talking in terms of language and culture too. But on the topic of geography, the Philippines was on the other side of the world, and so Spanish colonies falling elsewhere wouldn’t necessarily result in the Philippines falling. The effects would be indirect. The Philippines had its own history of revolts and independence movements. In general, the Philippines in many ways experienced a fairly different kind of colonization than Latin America did. Among these differences, Spanish never became a particularly large language in the Philippines and Spaniards never moved there in large numbers at all, nor intermarried with Filipinos (in fact, segregation was the overall policy). I think these kinds of policies, combined with the Spanish never creating an education system, were meant to prevent revolutions from happening (though obviously the policies failed). In addition, considerably large parts of the archipelago were never colonized at all by Spain and continued to wage wars against Spain throughout the colonial period.
I wrote a previous answer here discussing a related topic: