You will need to be a lot more specific, you can live pretty much all the way between Zug and Zurich. From your question it sounds like work will be in Zurich and School in Baar?
The good news is that everywhere has good public transport. If you check out a map - maybe a european road map or something and find a place that looks to be in the right sort of area, then go to
www.sbb.ch (swiss rail), plug in the place you found and Baar/Zug/Zurich HB (HB = hauptbahnhof = main trainstation) yuo can see the exact time it takes to and from the different places and if there are connections or direct.
One thing to consider is that there are very frequent Zug-Zurich trains that dont stop much, so it might actually be faster for commutes to live in either Zug or Zurich and take a fast train, then live half way between and take a train that stops in every little place. Also remember to check taxes before you decide - they are much lower in Zug than Zurich Kanton!
Andrew