Tell us about yourself!
Nope, it must connect to to the black wire (hot).
The switch wires always connect to the black wire (hot) in a lamp wire. If the wires are the same color you can identify it by touching them. White is smooth, black is ribbed.
How to make a wall lamp (sconce)