I am currently on L1B in US. Could you please let me know if it is legal to resign on L1B while am in US or is it required by law that I need to return to my home country and resign? Am on US payroll and I believe am governed by US labour laws and they will supersede the Indian laws even if I signed a document mentioning that I will return to India. Could you please confirm?
What you are asking me has nothing to do with US immigration laws. This is a matter for an employment lawyer in the state where you are working. Under US immigration laws, you can resign in USA any time.