politics

Issuing a talaaq for legal reasons

Q: My sister got married and after few months her husband ran away to a neighbouring country for some political reason. She was pregnant and got a baby. After two years waiting, he couldn't come back but the only way was she has to follow him. But because she is the wife of that man, the country's law doesn't allow her to leave anywhere unless she is divorced from him so they made an agreement and he sent her a divorce letter. The question is, is their marriage accepted or not?