Visitor II

Moving expenses overseas

I would like to understand if this scenario qualifies for claiming moving expenses. I was currently working in the US under non-immigrant visa and had a new job offer overseas in my country of citizenship/home country. I decided to take up the offer from the new employer and I want to understand if flight ticket expenses count as qualified moving expense?

I know I clear the IRS time test and distance test.