I think it would be best to keep the same job since it may affect your status at the new job if you go on maternity leave too soon. Sometimes there is a probation period you have to get through in order to qualify for full benefits, etc. Best of luck with your efforts!