It is an idiom related to the idea that actions are ranked.
"That was a low blow" means someone said something bad about you, and "be the bigger person" means you should act better (more mature) than someone.
So "taking the high road" is similar, meaning to act better, more mature, or with more respect. It is usually the more difficult thing to do, because people will sometimes not act well when they are upset.