The answer is almost certainly no, but the Supreme Court will have to decide the issue, if it ever comes to that.
There's a related issue of whether the president can be indicted while in office. Many legal scholars say no, while others say yes, but there's nothing at all in the Consitution that says the president can't be indicted. If Trump is indicted, it will be up to him and his lawyers to make a case why the indictment should be tossed out, and it would once again fall to the Supreme Court to decide the issue. (My own, non-legal-expert view is that the Supreme Court would rule a president can indeed be indicted while in office, because, again, there's absolutely nothing in the Consitution that says he can't.)