Maternity leave

When it's almost time for baby to arrive when does moms usually leave their jobs? And when do they come back? I know I'll probably get this info elsewhere but i wanna know what you all did.

I'm nowhere close to being due. Only 9w4d.