Ohio ranked No. 1 for the first time since the CNBC study launched in 2007. That year, the Buckeye State finished 30th.