12 months you and dh salary in cash. Plus investments, 401k, etc.
If I aimed for this, I wouldn't have been TTC until I was in menopause.
It depends on your comfort level. At a bare minimum you need enough to cover your hospital expenses and maternity leave.