Based on my experience with a premmie baby: while I was fine I didn't want to leave her (rule of thumb they stay there until full term reached BUT I think they say this just in case Gabi out in 8 days). They said I could leave when I had done both 1s & 2s (down below functioning). Bub could leave in theory once pedo checked baby and gave ok.
If everything had gone ok I would have been out < 24 hours. Hospitals are full of germs & infections.