Most places won't even accept it. They'll think it is some sort of class gesture, like you are giving them charity / handouts.
Vietnam it is part legal (it is a socialist country) but in Japan, people do their job because it is their job, not because they can get a tip. It's a different type of societal mentality.