This article is from the FAQ, by with numerous contributions by others.
Yes. The visa will be issued the day your two years are up. This
is particularly advisable for those who can get visas without
labor certification (family preference). You can apply at the
US consulate in your home country.