No, you should never put bleach in your dog's water. Bleach is a corrosive chemical that can cause gastrointestinal problems, skin irritation, eye damage, respiratory issues, and damage to the kidneys, liver, and central nervous system.
If you suspect your dog has worms, use safe and effective deworming medications from your veterinarian or pet store. Always consult your veterinarian before giving any medication.