Today, each of the 50 states follows a different set of building codes making navigating these codes confusing, particularly for architects or builders that have projects in multiple states. In some cases, the building code changes significantly between the state and certain cities or counties within the state. For example, at the time of writing Arizona had adopted the 2015 IRC Building Code, however, Phoenix was on the 2012 IRC, IBC and IECC code. With the majority of states either on the 2009, 2012 or 2015 code, below are some high-level points to consider and about how spray foam insulation contributes.
Warning: EnergyGuard™ Elastomeric Roof Coatings can freeze below 32° F. This is because the product is water based. In case of freezing temperatures, stop the application process. After application, you must allow the product time to dry before exposing the elastomeric roof coating to foot traffic or water. You should also cover the containers and dispose them responsibly after application. In case you or someone else i.e. a child ingests the coating seek immediate medical attention. Don't induce vomiting.
Jennifer, I'm not an expert on the health effects of closed cell foam. A lot of people live in houses with closed cell foam and have no health problems from it, at least not short-term, acute problems. I do know of one person who had it removed from her crawl space because she was convinced it caused her dog to get sick, but I know only what she told me.  
Here's a simpler, less expensive alternative: Cut some 2-inch-thick rigid-foam insulation and glue it to the subfloor between the joists or support it with nails driven partway into the joists. Then fill any gaps between the edges of the foam boards and the joists using the canned spray foam sold at home centers or hardware stores. An even easier option is to nail the foam panels against the bottom edge of the joists and seal the joints with canned foam, but you'll lose some headroom and access to any pipes and wires between the joists. As with spray-foam kits, protect yourself and the floor from the dripping globs of canned foam. A full face shield, gloves, and a hat would be a good start.

Roof Coating Denver Colorado