Yes, H-4 holder (anyone, actually) must make sure that USCIS has received his/her I-485 application before he/she leave U.S. The evidence for this is that he/she gets the I-485 receipt.