Could Trump run for president if he's indicted and out on bond?

There’s nothing in the Constitution that requires that an individual incarcerated in state or federal prison be released upon being elected President. Obviously the situation has never come up. Trump could probably bring suit arguing that his continued incarceration inhibits his ability to execute his duties as President and request that his sentence be suspended during his term. Impossible to say how the courts would rule.