I try my best not to. If I can catch them with a glass and put them outside, I will. But once my house had a bit of an ant problem and I admit to being somewhat merciless in drowning out the nest
It is not for the sake of killing or simply because they don't feel pain. Now if a fly or something like that is bothering you then... do what you got to do.