Payment of maternity benefits and separation from the company are two unrelated things. Both have no connection with each other. Availing of maternity benefits is subject to the eligibility as stipulated in the law whereas separation from the company will happen under the terms and conditions of employment as mentioned in the appointment letter.
Just because woman employee has availed of maternity leave, she cannot be forced to continue her employment. Maternity Benefit Act (MBA), 2017 does not prescribe lock-in period in the form of employment on completion of the maternity leave.
By the way, salaries and wages during the maternity leave is to be paid along with the monthly payment. From your query one gets a feel that you have accumulated the woman employee's wages and you wanted to disburse these to her once she resumes her duties. If your company has done that, then it is against MBA or other labour laws, as applicable.
you are required to send her at least 3 notices, better to send via regd. post, to resume her services.
for further detail or any other legal/Compliance query you can call/mail me.