The best way is to speak to your employer prior taking such step and elaborate your circumstances. If they agree then fine, Otherwise I would advise to resume your work and then resign i.e. giving enough time to your employer as per your contract.

Just a brotherly advice: We, as individual, represent our country and we shouldn't do any such act which may bring a bad name to our nation/country and block the opportunities to other citizens of our country.

In short, please try to resolve it with your employer in a friendly way.