If you were to knit them in tandem, then yes, you'd use two balls.
Either way, you'll need to attach a new strand to one of the legs since you only have one strand of working yarn after finishing the body.
Scroll down on
this page and there are different techniques for joining yarn.