When an unmarried couple has a child, it generally would be of greater tax benefit if the higher earner of the two claim the child as their dependent.