make sure u submit the resignation letter for 30 days (workable days) and have the company sign on a copy of it for receiving it officially.

No one can deny ur resignation specially if u completed ur contract.

You should do the same for ur wife if she is also working in the same company.

sort the problem internally, if ot does not work, then approach labor dept. (they can't make exit for u) but they have their ways to force ur employer to release u.