If a child’s parents are divorced, the child will qualify if he meets these tests for the custodial parent — even if that parent released his or her right to a dependency exemption for the child to the noncustodial parent.