No it will actually help the recovery process. By working out, you get blood flowing into your legs. Blood has nutritients, needed for recovery.
The best thing to do when you have sore legs is to train them again. Just do it light, the goal is recovery, not exhausting the legs once again.