It is illegal and contrary to laws if your company is forcing you to resign from the service of the company because you will proceed for maternity leave as per the laws of the land. You may lodge a complaint against the employer before the appropriate forum to get full relief as per prevailing laws of the land.
If you are covered under the ESI Act (assuming your gross salary is within Rs 15,000 per month), you will avail of all facilities, including maternity benefits under the said Act.
In the event your salary exceeds Rs 15,000 per month and you are beyond the ESI limit, then you fall within the Maternity Benefit Act. Consequently, you will receive all privileges and facilities regarding maternity leave, salary, etc., in accordance with the Maternity Benefit Act.
Hence, you should contact the ESI Department/Labour Department secretly, as the case may be, to know the next course of action to be taken in the matter. They will guide you properly. Please note that the law is very much in your favor, and you do not need to resign from the company.
Regards,
Sibabrata Majumdar Management Consultant Legal & HR Kolkata, Mb: [Phone Number Removed For Privacy Reasons]