If you married someone who was already married in the Philippines is your marriage even legal and do you need to get a divorce?

A is married to B. While marriage continues, A marries C.

Question: is the marriage of A to C "legal"?

The marriage of A to C, is bigamous and not a legal marriage. A may be charged with the crime of bigamy which carries with it a penal sanction.