Yes, as long as your old employer has not reported your leaving to USCIS yet (your H1 with the old employer is still valid).