It doesn't matter what you do, it will still be illegal in the Philippines unless it is annulled there.