My Husband is in prison can i claim him as a dependent?)

And do I file married filing jointly or married filing separate?