It can be easy to forget sometimes, but Google keeps track of all places you’ve been through the Timeline feature and uploads them to the cloud so you can look at it from any device. It’s meant to be a “convenient” feature, but it can get problematic, especially if other eyes that are not yours get access to that data. That’s why Google is moving it away from the cloud and for your device’s eyes only.
Source : Google Maps Will Now Store Your Location History On-Device