Sorry, you have to exit airside to get to Terminal 5. T5 is separate from 1,2 and 3, and they are only connected by the train (which is landside).
To get there, walk out and follow the signs for the inter-terminal train. ORD is a great airport, and everything is very well labeled.