The idea of judging favorably is to judge someone based on their hidden, deeper will and to decide that deep down he wants to do what is right. This attitude actually transforms all of the bad deeds into good deeds.That is the Avodah of all of the Tzadikim and through this they bring everyone under the wings of the שכינה.