Get your taxes done using TurboTax

You cannot claim any dependent for half a year; you can only claim dependents for a full year.  If you meet all the qualifications for a full-year dependent, you'll be fine.  If not, the IRS will correct your return and send you a bill for any refund due back to them.