As long as you will be the one to file the divorce, it will be recognised in the Philippines and both of you will be free to marry (even in the Philippines).