Claiming a child as dependent

My son was in foster care from January 1st until June 6 he came home he was with me for more day than foster care out of the calendar year not counting weekends overnights with me he can only be claimed correct