The bulb will light up for an instant when the capacitor starts charging. Initially when key is closed, the capacitor acts as short-circuit, so bulb will light up. But finally the capacitor becomes fully charged, so it will act as open circuit, so bulb will not glow.