I'm thinking of suddenly quitting my job.
Why would you quit your job?
I spend way too much time commuting and I don't like that.
You shouldn't stay at a job that you dislike and getting yourself out of an undesirable situation is a good thing to do in life, but you shouldn't quit right away. You need to put in your two weeks notice and let the company know that they need to hire a new employee, or else you may really upset a lot of important people who could make it harder for you to get a new job.
I bet I will not have any problem finding a new job.
If you think you can get another job easily then I don't see any problem with quitting your current one.