Karin’s and Wayne’s answers are great. It’s not muscle memory. It’s a process in the motor cortex of the brain. Cycling and swimming are great examples. The more practice, the more repetition, the greater the ability to repeat the movement(s) even after long periods of absence from the activity.