22.5 miles each way is somewhat long for a commute (although certainly many do even more!) What I would suggest is to work up to it. That is, try and find a way to combine public transportation (train, bus, etc...) to make up part of the mileage, and then as you get into better shape, try it without the help. Alternatively, if there is no viable public transportation, try driving partway, and each week cut down the distance you drive.
Finally, don't expect to do this five days a week as you first start out. A good goal would be to do it twice a week for 2-3 weeks, then three times/week for 4-6 weeks, then four times per week for a month or so, and finally, al five working days (if your schedule is such)
I commute 16 miles each way, 4-5 times per week, but sometimes, there are just days when I am not up for it, and I drive. Make sure you have that option open.