Provided it's in a can and it doesn't fall over and leak, it should be good. It's not like propane, compressed natural gas, or butane. Those guys stay outside the cabin, in case the tanks leak, and the gas settles in the bilge. These gasses, and gasoline fumes, are heavier than air. This is also why gasoline power boats with enclosed motors like inboards, I/O drives, etc, have blowers that you run for 5 minutes before starting the engine. I keep my propane canisters in the fuel locker in the cockpit, which is open, because they could leak.
You could just keep a bottle of Everclear Grain Alcohol, or Bacardi 151 rum, on hand. It'll do double duty: stove fuel, and party fuel! My friend suggested this, and I told him he was nuts, that's the expensive way to do it. So I went by my local REI and got him a can of alcohol fuel. But then again, you could pick up a bottle of isopropyl at the pharmacy to burn in your stove...
Brian