What does it mean to have primary physical and legal custody?

You have sole legal control over the child, the child lives with you and the non-custodial parent has visitations.