The father and mother of a minor child are equally entitled to its services and earnings, and if 1 of the parents is dead or has abandoned the child or has been deprived of its custody by court decree the other parent shall be entitled to such services and earnings.