It is up to the judge to rule whether custody is shared or held by one parent only. If it’s the latter, the judge must also decide on the contact arrangements.