Can I file a tax report jointly if my husband and I are both F1 students and had income last year?

We both are resident alines for tax purposes.