So yes, you can leave your job, most likely if you have an employment agreement, but you are required to follow the terms of the agreement.