Moscow has said it has no problem with Ukraine joining the EU, so there's no hurdle there. The problem is on the standards side. The Ukraine was the poorest country in Europe per capita before the war and that's going to be undoubtedly worsened.
The EU elevation process can be extremely lengthy. For instance, Turkey first applied to the EU in 1987 and that process is ongoing.