If both of you qualify for the moving expenses deduction, then you can split the amounts. If only your wife is eligible, then she can still claim costs related to the sale of the house that only you owned, provided that either she or you paid those amounts.