Claim my child

My child was born in July and in Sept we decided to live separately. Legally we are married. Can I MFJ and claim my child. Hoping I will get child credits