In such a case, there is a further rule: If a single parent or both parents, whether married or not, can claim the child (residency and age) but choose to waive the child to a non-parent, such as a grandparent or uncle or aunt, this non-parent can claim the child only if they have a higher adjusted gross income (AGI) than any parent who has lived with the child for at least six months.