Ignoring this case specifically, but speaking in generalities, it seems crazy that states can prosecute a president when out of office. Politically motivated actors could tie a national figure up indefinitely and bankrupt them. A state could indict a president for manslaughter for collateral damage from a drone strike. Or an environmental law due to contaminated groundwater from a federal facility authorized and expedited under that president decades prior. Any risk based decision could be second guessed.
Really it should require impeachment and conviction by congress, even well after the president has left office.