When the soil is dry is best time to stor it. Moisture in the core of a heap can result in soil getting compressed and going anaerobic, stinky dead topsoil is the outcome.
Definitely only work topsoil when it is dry. When you have it stockpiled, make sure that the excavator driver smooths and shines the whole heap to encourage any water to run off the heap rather than soak down into it.