I've seen it done in all sorts of instances. It's pretty typical for it to be one of the financial "assets" on the table for negotiation, although I suppose you're right that the IRS itself has strict rules about the # of overnights, etc., someone has to live with you in order to be claimed as a dependent.