In family law, legal child custody consists of a number of rights, responsibilities and obligations of individuals in relation to a child. Joint custody arrangements may call for parents to alternate the time they live with their children on a weekly or monthly basis. Naturally, joint custody also means that parents will have full responsibility for their children, and not just during the time that they spend together.
https://thelawdictionary.org/article/how-does-joint-custody-work/