Deductions & credits

Only one parent claim the dependency and that parent is the one with whom the child lives.  It doesn’t matter that you pay the education expenses. But if your ex wife wanted she could let you claim her by giving you a signed Form 8332.