You are not allowed to return to work for at least two weeks from the date that you have given birth. This is called compulsory leave and includes the day of the birth itself.
This is for health, welfare and safety reasons.
In fact your employer may be committing a criminal offence by requiring you to work. This includes work at home.
In some industries, the compulsory leave period can be longer (if your work involves heavy/hazardous working conditions) and lasts for 4 weeks. If your employer requires you to work, even from home during this period, you should refuse. If any action is taken against you for refusing to work, contact our Advice Line or speak with a solicitor for further assistance.