I am working under 2 year contract period.My visa is renewed in previous month.Can I able to resign legally by a one month notice period under this contract period