You do not need to be in U.S. until you need to file I-485 with you LD. If your LD get the GC and you are still in China, you also can do follow-to-join for your GC application.