Only if you are currently a high school senior. Even then, you won't ship to training until after graduation and if you fail to graduate your contact is canceled.
The Army Reserves and the Army National Guard allow juniors that are at least 17 years old attend basic between their junior and senior year. If they fail to graduate then they are discharged.