No spark should not be caused by running out of gas. The only possibility I can think of is the gas is needed to cool the fuel pump. When you run out, the pump could run hot, and it might have blown a fuse. That fuse is often the same one that feeds the ignition system.
Listen for the hum of the fuel pump for one second when you turn on the ignition switch. If you do not hear that, start by checking the fuses inside the car and under the hood.
Monday, April 24th, 2017 AT 7:18 PM