Generally speaking, your body remembers what it has been used for, and getting fit again after some time off doesn't take as long as the first time you got to the same level.

Just be patient and you'll find, all of a sudden, you feel in your legs what you had before.

Good luck with the swim meet...