It's probably a case by case basis. I resigned on maternity leave and they still paid me up until the end of it. I even got my end of year bonus! I had a nice HR Director though.
To be honest, I think some companies heave a sigh of relief as unfortunately many think that now we have kids we will be always off and with our minds elsewhere. Which is not the case of course
