Well, if you have replaced the impeller, then let it sit for awhile, I’m sure it is OK… But, you surely would want to monitor pump performance when you use it again….
Suggest that you go through your collection and “rope over” the motors a couple of times a year, good insurance against “impellor set” and stuck pistons…. just a half turn is all that’s needed.
OMCs are more apt to be okay. A Merc that has set for just a few years is questionable. Just had one a few years ago, a Mark 25, that failed to pump correctly. The impeller was about three years old but only had maybe an hour of actual run time. Merc impellers take a horrendously bad set.