Custody of newborn?

What was your custody situation of your newborn if divorced or going through divorce before baby is here?