My husband is incarcerated can I claim him as my dependent this year?

He’s been incarcerated from Jan 6th 2023