Answer
Yes, a cyclist will coast farther if the lamp (powered from the bicycle's generator) is shut off.
Work Step by Step
Energy is conserved. The energy that goes into lighting the lamp ultimately comes from the bike’s kinetic energy.
By not lighting the lamp, that energy is available to push the bike just a bit farther against frictional forces.