The key words you're looking here is "Evolves from _______". Poliwrath "Evolves from Poliwhirl". It's looking for something you have in play called Poliwhirl. That is the only condition required. It doesn't care what stage Poliwhirl is.
So yes, you could evolve in that situation.