Welcome to Fluther, @heavenlyblessed28. It should be okay, but for your own personal safety, in case you have any doubt, is it possible to plug the cord into a “switched” outlet (not what you would normally use for a sump pump!) so that you can be sure that it is switched off before you make the connection? After that connection is made, plug it in, and if the pump works normally then things should be okay.
That’s probably over-cautious, but it’s the best way to be perfectly safe. (In most cases you could pick up the cord for a sump pump – no matter how long it had been soaking in water – dry off the outside with a rag, and plug it right back into a live outlet with no problem at all. But that’s not advice that I would normally give, and it’s why I suggested the extra-safe procedure that I did.)
By the way, if you do follow my advice to make the connection into a switched outlet first to test and run the pump temporarily, you should of course move the connection back to an unswitched always-on socket for the pump after the cord has proven safe and effective.