Child tax credit

I was in prison for 6 months and worked for six months is it true that I will not get any credit for claiming my kids even though I worked for 6 months??