Not always. In an attic or crawl space entered only for repairs or maintenance, the Ohio code accepts an ignition barrier or a foam system tested for that use, often with an intumescent coating such as DC315. Occupied or finished space needs a full thermal barrier.
More detail
The Residential Code of Ohio draws the line by use. Section 316.4 requires a thermal barrier of half-inch gypsum board, 23/32-inch wood structural panel, or an NFPA 275-qualified material between foam and the interior. Section 316.5.3 relaxes that for attics that require an access opening and are entered only for service, and 316.5.4 does the same for crawl spaces, allowing an ignition barrier such as 3/8-inch gypsum board or 1-1/2 inches of mineral fiber, or a foam assembly tested under section 316.6. Intumescent coatings are how many foam systems meet the tested-assembly route, and whether one is acceptable depends on the specific foam and coating combination listed in the evaluation report, not on the coating brand alone. An attic used for regular storage, a crawl space holding a furnace, or a Hilliard basement about to be finished all deserve a direct question before the job, and a check with the building department if the work is permitted.