you can't claim as his depende
nt. Only your child can.
If you are legally married, you can file joint. It doesnot matter what immigrant status they have. But you cannot file separate forms, say you file 1040NR and your hu*****and file 1040A. You both must use the same return form.