Well, Eugene V. Debs ran for president from prison in 1920. So, strangely, there's sort of a precedent...But let's make sure Trump doesn't win, wherever he's residing on election day.
;-)
https://www.mentalfloss.com/article/622489/eugene-debs-socialist-who-ran-for-president-from-prison