That is not true. If you spend a given number of months overseas, studying at a foreign educational institution doesn't put you in a worse position than if you were simply idling or touring during those months.You are subject to spending more time in the USA than in any other country. You must maintain residency in the USA and can not take up a job or studies in another country.