It really depends on your financial circumstances and how comfortable you are with going it alone, without an attorney.
I havea great example for you a few years ago. I had a friend tried to sell her home few years ago. She decided to sell her home by herself (FSBO) and had her attorney only do the PNS, not closing to save some money. When she showed up at the closing table. She was threaten by buyer attorney to pay for most of buyer's closing fee. Otherwise they can't close the deal. She had to pay $5000 for the buyer. I strongly suggest you that you should have an attorney to defend you at the closing.
The closing attorney will search the deed to make sure it is free lf liens, prepares the closing docs, prorates taxes , prepares the hud and makes sure teh numbers are correct. When getting a mortgage the bankj makes sure this is done on your behalf but dont forget with cash, it is your sole responsibility.
Good luck with your purchase
However, for the most protection, you should have one. There may be items in the mountains of documents that you'll sign that you don't understand. (There certainly will be.) Or there may be provisions in the final documents that don't reflect what you've previously agreed to. Or perhaps other items will arise--problems with the walk-through, for instance.
In some cases, your Realtor will be able to help you. And, frankly, not everyone does have an attorney at closing. So, it's your call.
Hope that helps.