The legacy one will work but the segwit one(p2sh-p2wpkh) will not work. If you put import the private key on Electrum with the Segwit one the result of the address will convert to the legacy wallet.
I already tried that on Electrum even adding script type it won't let you click the next button.
Isn't that because you can't spend funds from a Segwit address created from an uncompressed pubkey in the normal way? See
this post.