Deductions & credits

Here are a couple of rules that might affect who can claim each of the children:

Both parents claim the child on separate tax returns: The parent with whom the child lived the longest during the year may claim the child
If the child lived with each parent for the same amount of time: The parent with the higher adjusted gross income (AGI) for the year may claim the child