That’s not how any of this works.
An alibi shows the investigators that you aren’t a suspect. It happens before anything goes to trial. I’m not in favor of location data collection, but once it is collected it can be an easy way to show you weren’t involved.