Hi,
It will be the same as the agreed terms; maternity leave/benefits should not in any way affect the employment contract. You ought to give the notice and hand over the charge, which is expected of any responsible employee to enable the employer to do his/her part of settling the full and final payment, relieving letter, etc.
Thanks and Regards