The electoral college system wouldn't be nearly as bad of a system if you couldn't just rearrange some borders and suddenly change the results.
So, in those states only, electoral votes can be gerrymandered in exactly the same was as Congressional seats, because they are exactly the same districts. (Of course, both states are small enough that the gerrymandering opportunities are fairly limited, and would have limited impact on Presidentual elections, as Maine has only two CDs and Nebraska only 3.)