Employment is at will employment so one can always resign.Â  However, depending on what the terms of the contract are, the employee may have to pay back certain damages to the employer if breaking the contract before a certain date/time/condition.Â  It is difficult to answer a general question like this without having the benefit of knowing anything about the type of contract you are talking about so the response is very generic in nature.Â  If you have specific questions about your particular situation, it would probably be prudent for you to seek a consultation from an immigration and/or labor employment attorney to understand the issues and your options.Â  Good luck.