You have to be employed, either current employer or prospective employer, to maintain your H-1b status.