To follow up on this, assuming after several years, the stock price has gone up and my parents sell these stocks.
I become a residence again by then, and my parents transfer money as gift to me and part of the money is from the sales of these appreciated stocks.