Why would there be any difference? You're training muscles which help you with erections. It is not the other way around, an erection does not train your muscles. It doesn't matter having an erection while doing your kegels.
Personally I rather like being flaccid, I feel the muscles better and can concentrate better.