While technically correct, this is the wrong way to look at it. The energy density of oil is large, so transmission losses per unit of energy is low. Any modern house furnace will be at least 80% efficient, and 96% isn't unheard of. The most fuel efficient power plants are around 60%, (combined cycle coal plants) but any plant running oil is probably less, plus you have all the transmission losses for electric (8%). In the end if you are burning fuel for heat it is both cheaper and a better use of energy to burn it locally.
Of course that isn't the full picture either. Electric can come from many sources (wind, PV), and scale means they can mix sources cheaper. (imagine a coal furnace, gas furnace, oil furnace, PV heat, and a windmill all at your house - it is obviously ridiculous, but large utilities have this)
You also don't have to burn for heat directly. Electric leaves open the option of a heat pump which can be >100% efficient when it isn't too cold.