You can do H1 transfer as long as your current h1 I-94 is valid no matter how big the gap is, but most likely your transfer petition will be approved without i-94.