You might be still alive because the room is getting air through holes in the cavity wall (probably below floor level). When you fill the cavity wall with foam, those holes will be blocked, the air won't get to the fire and you will die a slow and lingering death.
Christian.