Work after baby

Tasha
When do you think it is best to tell your job that you won't be back after the baby is born?