Military training does not count as being a student. Whether it's basic training, advanced individual training or a specialty school, you are not a student for tax purposes. You are an employee, at work.
Even West Point cadets are not considered to be students.