If it goes to court, in most jurisdictions the disposition of the case will be available in a standard background check. For example, if you were charged with resisting arrest and found not guilty, it would still show up but also show "not guilty". Good luck explaining that to an employer, even if you did nothing wrong (and the courts confirmed it).
A "not guilty" verdict means that there was enough evidence to go to trial, but not enough to convince a jury beyond a reasonable doubt. It's far from a confirmation that you did nothing wrong.