nope. all the experience you gain goes to everyone. if you run solo and level up, your party does too. say also you have 2 characters with you.. if you level, all other party members that can be switched with will level too, and you can upgrade them whenever you bring them to your party.
man.. now i want to go back and play it. KotOR is my 2nd favorite game of all time.