 When you trust Jesus Christ the Savior, not only are your sins paid for, but God gives you, in exchange, the righteousness of God himself. If you were as righteous of God, could you live in heaven? Yes.