Resisting arrest, while yes it is a crime even if none was committed, still falls apart when there was no original crime.
If they are arresting you if its a wrong reason or a right reason doesn't matter. If they are arresting you and you resist arrest you become a criminal.
It's as simple as that.