No, there is no automatic divorce in our law. Divorce must be signed with a divorce agreement or filed by the court. If the person concerned has been missing for two years, one party can go to the court to file a lawsuit for divorce and explain the reason for the disappearance.
Legal basis:
Article 1076 of the Civil Code: If the husband and wife divorce voluntarily, they shall sign a written divorce agreement and apply for divorce registration in person at the marriage registration office.
The divorce agreement shall specify the intention of both parties to divorce voluntarily and the consensus on matters such as child rearing, property and debt handling.