As long as the threading on the fork's steerer tube is long enough to allow the top race to thread down enough to properly adjust the bearings, you can leave the steerer long enough to add a spacer stack between the top race and the locknut. I have one bike set up exactly as you show in the picture with about 20 mm of spacers between the top race and the locknut.