Usually the parents get shared custody, but the Civil Service might decide something else. Contact your local authorities if you have any doubts.