Get your taxes done using TurboTax

Either efile your return first or if it rejects you can print and mail it to claim her.  You can not prevent him from claiming her.  If you both claim her the IRS will mail you each a letter asking for more info to determine who is able to claim her.