It occurs more often than people realise.
My friend was in the US before he had to go out and get his H1B extended. He was stuck outside the country for about 5 months for "additional scrutiny". He got his undergrad, masters and Ph.D. in the US and worked in the area of chemical engineering + spent working 6 months in middle east on water filtration projects.