An antistatic glove works because you aren't touching the component to create a path to ground. You are insulated.
I still prefer to use a method of grounding the component, such as a wrist strap, as well as being away from static sources like carpets etc.
There are some good tips online to follow you can easily find.