I've been thinking about this question for a while. Its a 3 part question:
1) Will human beings have free will in heaven?
2) Will there be sin in heaven? ( yes, I know the answer but answer it anyways)
3) If there is such a place where there is free will and no sin, Why didn't God create it in the first place?
This assumes that people have free will in the first place, and that free will is a good thing. However, the Bible teaches over and over that people do not have free will, at least, not apart from the sovereignty of God. People do choose good or evil, and God rightly judges them for it, but nonetheless God is in control (Psalm 104).
33 The lot is cast into the lap, But its every decision is from the Lord. (Proverbs 16:33)
People like to think they have free will, they plan their way, but the way of man is not in himself, his plans are in vain for it is the
Lord that directs his steps.
9 A man's heart plans his way, But the Lord directs his steps. (Proverbs 16:9)
23 O Lord, I know the way of man is not in himself; It is not in man who walks to direct his own steps. (Jeremiah 10:23)
24 A man's steps are of the Lord; How then can a man understand his own way? (Proverbs 20:24)
He does all our works
in us.
12 Lord, You will establish peace for us, For You have also done all our works in us. (Isaiah 26:12)
Being born again is not of the will of man, but of God.
12 But as many as received Him, to them He gave the right to become children of God, to those who believe in His name: 13 who were born, not of blood, nor of the will of the flesh, nor of the will of man, but of God. (John 1:12-13)
Nothing that anyone says ever comes to pass, unless the Lord has commanded it.
37 Who is he who speaks and it comes to pass, When the Lord has not commanded it? 38 Is it not from the mouth of the Most High That woe and well-being proceed? (Lamentations 3:37-38)
If there is calamity in a city, man-made or otherwise,
the Lord has done it.
6 If a trumpet is blown in a city, will not the people be afraid? If there is calamity in a city, will not the Lord have done it? (Amos 3:6)
So then it is
not of him who wills but
God who shows mercy.
16 So then it is not of him who wills, nor of him who runs, but of God who shows mercy. (Romans 9:16)
All things are of Him and through Him and to Him.
36 For of Him and through Him and to Him are all things, to whom be glory forever. Amen. (Romans 11:36)
The Lord
makes people stray from His ways, and
He hardens their heart from His fear.
17 O Lord, why have You made us stray from Your ways, And hardened our heart from Your fear? Return for Your servants' sake, The tribes of Your inheritance. (Isaiah 63:7)
11 Thus says the Lord: 'Behold, I will raise up adversity against you from your own house; and I will take your wives before your eyes and give them to your neighbor, and he shall lie with your wives in the sight of this sun. 12 For you did it secretly, but I will do this thing before all Israel, before the sun.' " (2 Samuel 12:11-12)
25 He turned their heart to hate His people, To deal craftily with His servants. (Psalm 105:25)
He
causes them to err.
27 Behold, the name of the Lord comes from afar, Burning with His anger, And His burden is heavy; His lips are full of indignation, And His tongue like a devouring fire. 28 His breath is like an overflowing stream, Which reaches up to the neck, To sift the nations with the sieve of futility; And there shall be a bridle in the jaws of the people, Causing them to err. (Isaiah 30:27-28)
9 And I will cause them to eat the flesh of their sons and the flesh of their daughters, and everyone shall eat the flesh of his friend in the siege and in the desperation with which their enemies and those who seek their lives shall drive them to despair." ' (Jeremiah 19:9)
David knew that God could, if He desired, incline his heart to evil.
4 Do not incline my heart to any evil thing, To practice wicked works With men who work iniquity; And do not let me eat of their delicacies. (Psalm 141:4)
Despite this prayer, the Lord nevertheless
did incline his heart to evil.
1 Again the anger of the Lord was aroused against Israel, and He moved David against them to say, "Go, number Israel and Judah." (2 Samuel 24:1)
In giving this order, it says David sinned.
10 And David's heart condemned him after he had numbered the people. So David said to the Lord, "I have sinned greatly in what I have done; but now, I pray, O Lord, take away the iniquity of Your servant, for I have done very foolishly." (2 Samuel 24:10)
Who caused him to give the order? The Lord "moved David."
The builders (religious leaders) were
appointed to be disobedient to the word. Appointed by whom? By God (Romans 11:36).
7 Therefore, to you who believe, He is precious; but to those who are disobedient, "The stone which the builders rejected Has become the chief cornerstone," 8 and "A stone of stumbling And a rock of offense." They stumble, being disobedient to the word, to which they also were appointed. (1 Peter 2:7-8)
God has committed everyone to disobedience and confined all under sin. The wicked go astray as soon as they are born, and He made them for the day of doom.
32 For God has committed them all to disobedience, that He might have mercy on all. (Romans 11:32)
22 But the Scripture has confined all under sin, that the promise by faith in Jesus Christ might be given to those who believe. (Galatians 3:22)
3 The wicked are estranged from the womb; They go astray as soon as they are born, speaking lies. (Psalm 58:3)
4 The Lord has made all for Himself, Yes, even the wicked for the day of doom. (Proverbs 16:4)
28 And even as they did not like to retain God in their knowledge, God gave them over to a debased mind, to do those things which are not fitting; (Romans 1:28)
Nonetheless, even if we were to presume that there is some sort of free will, we still could not presume to know the mind of God.
8 "For My thoughts are not your thoughts, Nor are your ways My ways," says the Lord. 9 "For as the heavens are higher than the earth, So are My ways higher than your ways, And My thoughts than your thoughts. (Isaiah 55:8-9)
33 Oh, the depth of the riches both of the wisdom and knowledge of God! How unsearchable are His judgments and His ways past finding out! (Romans 11:33)
28 Have you not known? Have you not heard? The everlasting God, the Lord, The Creator of the ends of the earth, Neither faints nor is weary. His understanding is unsearchable. (Isaiah 40:28)
Therefore we should:
5 Trust in the Lord with all your heart, And lean not on your own understanding; (Proverbs 3:5)