Matter doesn't need internet access, it's an entirely local protocol even when you integrate to other vendor ecosystems.
Now, something like Google Home might decide to go online to talk to a Google Home Hub device, which is where Google wants to initiate all Matter communication from, but that's a Google thing, not a Matter thing.