There may be `` joint custody '' , which means that both parents have custody over the child . Joint custody is an arrangement whereby both parents have legal custody and\/or both parents have physical custody .