Is the word "direction" used in the same way in the following two sentences?

Keep going in the same direction.

He had no direction in his life.
different meanings