Yes.
The first time you ever flashed Openwrt you started with the Linksys OEM firmware. The Linksys firmware needs the factory.img to initially load the Openwrt firmware.
So, if you upgrade from Linksys firmware use factory.img. If you upgrade from Openwrt firmware (either ssh or LuCI) always use the sysupgrade.bin