Accurate threading is far more dependant on what motion controller you'll be using, than how the spindle is powered.

A basic VFD will drive the spindle good enough to thread.
For the most accurate threading, a motion controller that will accept a spindle encoder signal is the best option. Something that uses a single pulse can produce acceptable threads, but it'll depend on the level of accuracy you're aiming for.