Need some help!

Trying to figure out when my last day at work should be. Was thinking a week before but living 45mins from my home and hospital that makes me very nervous. But would give me an extra week of pay. Or take off two weeks before? What would y'all suggest? I'm due August 11th. So have the dilemma of quiting July 28th or August 5th. If it was you what would you do?