I believe the "distance box" you are referring to is the Tracker.
Go to Options > Work Environment > Tracker and Coordinate Input -- make sure the box next to "Show Tracker" is checked.
MacBook Pro Apple M2 Max, 96 GB of RAM
AC26 US (5002) on Mac OS Ventura 13.5