Darkness is not needed. However, you want to keep them out of direct sunlight or away from heat sources that can cause them to be cooked or to dry out. Direct sunlight is very powerful and can overheat them very quickly.
However, because the roots and shoots will develop from the energy stored in the cuttings, light is not essential, either.