You are eligible to apply for USMLE steps 1 and 2 if you are officially enrolled in, or a graduate of any of the following:
a US or Canadian medical school leading to the MD (Doctor of Medicine) degree
a US medical school leading to the DO (Doctor of Osteopathic Medicine) degree
a medical school outside the US and Canada listed in the World Directory of Medical Schools which meets ECFMG eligibility requirements & criteria