Like every other character, Sans too gets little memory from non-true resets. But the main difference is that Sans is aware about the existence of resets. He will also give those pieces of memory more importance. But that still doesn't mean he remembers literally everything.