So how can God solve the problem for man to co-exist with Him in heaven?
By making man appear sinless before Him.
Jesus is the only person who could fulfill and did fulfill that requirement. When we receive Jesus as our Lord and Savior, our sin will be erased and Jesus record of perfectly keeping God’s standards will be put in the place of our imperfection. See how that works? We take on the new man.