Are me and my bf able to file joint?

How do I know if me and my bf are eligible to file joint?