It depends.
Per IRS rules, if you have stayed in the US for less than five years, you are considered as a non-resident and cannot file the Form 1098-T because you do not qualify to claim any education credits.
If you have stayed in the US for more than five years, you are considered as a resident, you can file the form to claim one of the credits.