For example, many cities and municipalities can issue a 'boot' onto a car that has unpaid tickets. They cannot put a boot onto a car that isn't in the parking spot with unpaid tickets. However, if that unpaid ticket is associated with your name and you park with your new car somewhere in that city, they can boot the new car.
In summary, in most places, unpaid tickets on a car that you no longer own and don't drive will not impact you as long as they aren't associated with your name. However, if you have unpaid tickets from when you owned that old car and your name is still on the registration, you may run into problems with your new car. Check with your local municipal laws to see what the exact policies are.