How is the exemption addressed in the court order? If it isn't addressed, then if you are the custodial parent (yes, it matters who has primary residential custody) and have the kids for over 50% of the year (the IRS goes by overnights), then you get both exemptions. And if you both file claiming the kids, the one who isn't supposed to claim the kids is the one who will have to refile.