I am married and my husband has not worked the entire year, can I claim him as a dependent?

would it make a difference to file joint or separate if calming him as a dependent