Are lava flows dangerous to people who live hundreds of kilometers from an erupting volcano?

Yes, the lava wound necessarily kill you but other volcanic issues could. The ash, gasses and other tiny tephra can get caught up in the atmosphere and cause it to be polluted.