Hi

i am working in US on deputation. My company (SayX) is calling me back by 17th.I have got a good offer from another company( say Y).

The new companyY will be filing my H1B transfer only on 16th. When should i resign?

What would be my status if i resign today by giving 2 weeks notice period?

Please answer.