Kingdom Hearts: Chain of Memories is a direct sequel to Kingdom Hearts 1. It takes place immediately after the events of the first game.
Because it follows so closely, the story continues directly from where the original game leaves off rather than jumping far into the future.