Yes, vampire attacks on towns and cities stop when you complete the main questline, regardless of which side you choose. You'll still see them in the wilderness at night, but never in the cities again. Unless, if you join the vampires, you use Auriel's Bow to eclipse the sun. That pretty much guarantees more attacks on towns, so be careful if you ever do that. If you block it out and stay in the wilderness till night or the next day again, though, you should be fine.
Edit @Jack Bauer: If you don't take them out quickly, they can be pretty deadly for the townsfolk. The guards can distract them for a bit, but there's usually a high level Master Vampire in the attack group, and he can do some damage. If you have the PC version, I recommend a mod called "When Vampires Attack" that will make everyone except guards hide indoors until the vampires are dealt with, saves a lot of lives. There's one by the same author for dragon attacks, too.