An alibi defense is just about the best defense you can have in a criminal case. If you can successfully argue that you were someplace else when the crime took place and thus casting reasonable doubt into the jury, they should find you not guilty. Of course, the method of proving your alibi will be critical to the weight the jury gives it. Your word that you weren’t there is weak. Testimony of another person is better. Testimony of a disinterested person is better yet. Testimony of several disinterested persons is even better. Video evidence of you being somewhere else may even be better than that. There are endless ways to prove your alibi. Preserving evidence of it is critical to winning on these grounds.
If the jury believes you were not present when the crime took place (and you were not a principal to the crime), you should be found not guilty.