Sleep does half the work
Motor consolidation — the firming-up of newly learned movements — continues after practice, and sleep plays a big part in it. In a classic study, people who slept after practising a finger sequence were about 20% faster the next day than people who spent the same hours awake. Later research suggests sleep mainly locks in what you practised rather than adding new skill — either way, it protects the work you put in.
In practice that means: a short session shortly before sleep is especially valuable — fifteen minutes in the evening puts the whole night to work as training time. What it does not mean: sleep doesn't replace practice, it reinforces it. No practice, nothing to consolidate.
Sources: Walker et al. (2002), Neuron · Nettersheim et al. (2015), Journal of Neuroscience.