Does an employee still qualify for statutory maternity pay if they leave their employment?

An employee who satisfies the other qualifying criteria will still qualify for statutory maternity pay if they leave work after the start of the qualifying week for any reason, including because they have resigned. The qualifying week is the 15th week before the expected week of childbirth. The employee's contract of employment will terminate at the end of the notice period, at which point the employee's entitlements to all other benefits, including accrual of holiday, will cease.