I haven't been back to China since getting my H1B.
I'm planning to go back to China and work remotely for a while, but I haven't decided exactly when I'll return. After coming back, I could also crash at a friend's place for a bit as a transition and then sign a lease. So would that cause any problems when entering the U.S.? But leaving an apartment vacant for two months also feels like a waste of money.

When you were working remotely from back home, what did the company say about the tax and compliance side of working abroad? That might matter more than the rental contract.