Maternity Leave

Question for those of you who are pregnant and working full-time. I am not sure when I should request to start my maternity leave. I want as much time off as possible after baby comes, but I also don’t want to be super uncomfortable working up until the last minute. When did you all start your maternity leave?