You will get 2 year ban if you resign from the company.