Can I claim my son since he was in foster care? No one else is claiming him and I don't want to be on the bad side of the irs.

He was in foster care for almost a year and my case worker said no one was claiming him so If I wanted to it would be fine.