I can't figure out what to do

Danni👑 • Married💕💍8•6•16 Mom of two! Daniel James-1•2017 Everly Grace -4•2018 Double trouble cats 2 angel babies👼🏼👼🏼
Me and my husband have talked it over and he's okay with me quitting my job I have now when the baby gets here, I'm not due till Jan 30th next year, but I'm having technical difficulty figuring out when to but my two weeks in, would the best time be before the baby's here, go on maternity leave and then put in my two weeks when i get back to work, or do I throw it in my two weeks when I go on maternity leave? I'm just not sure what to do.