Im aware he died on the cross for us to have salvation and go to heaven, but he requires us to repent and change our lives to have relationship with him. I know he wants the best for us but if Jesus loves us unconditionally we could do whatever and still go to heaven because the love is unconditional?
You say: “If God really loved us unconditionally, we could do whatever and still go to heaven.”
Heaven is God's home. Don't you think that God can love someone unconditionally yet expect them to conduct themselves by respecting His wishes while living in His home. God has an obligation to all His guests to ensure they are comfortable and enjoy themselves while in Heaven. He expects all guests in His home to be respectful towards each other as well as toward Himself. Therefore, even though He loves everyone, He rejects those that will not conduct themselves respectfully to everyone.
The way that God determines who gets into Heaven is by testing them while in the flesh. If people agree to His authority and law, while in the flesh, He knows they will obey them in heaven when they are not tempted by the desires of the flesh. When someone enters into Jesus for salvation they start a process called sanctification. In this process Jesus convicts people of their bad behavior. To make it through sanctification and get into heaven the person must be spiritual minded.
Romans 7:25 I thank God — through Jesus Christ our Lord! So then, with the mind I myself serve the law of God, but with the flesh the law of sin. NKJV
Above is how Paul describing the spiritual minded person. In his mind he agrees with God's law even though he cannot make his flesh abide by the law.
Matthew 22:37 Jesus said to him, "'You shall love the Lord your God with all your heart, with all your soul, and with all your mind.' 38 This is the first and great commandment. 39 And the second is like it: 'You shall love your neighbor as yourself.' 40 On these two commandments hang all the Law and the Prophets." NKJV
Above is the law of love. We are to love God above all. We are to love Christian brethren as Jesus loved us and we love our neighbor as we love ourselves. We agree those laws are right and just. We agree that God has the right to discipline us if our behavior does not agree with the law.
1 Corinthians 11:30 For this reason many are weak and sick among you, and many sleep. 31 For if we would judge ourselves, we would not be judged. 32 But when we are judged, we are chastened by the Lord, that we may not be condemned with the world. NKJV
In Corinth there were a group of alcoholics whose behavior did not conform to the law of love. Jesus disciplined those who were weak and sick to get them to change their behavior.
1 Corinthians 3:12 Now if anyone builds on this foundation with gold, silver, precious stones, wood, hay, straw, 13 each one's work will become clear; for the Day will declare it, because it will be revealed by fire; and the fire will test each one's work, of what sort it is. 14 If anyone's work which he has built on it endures, he will receive a reward. 15 If anyone's work is burned, he will suffer loss; but he himself will be saved, yet so as through fire. NKJV
They, the drunk Corinthians, built on the foundation of Jesus with sinful works. The ones that did not repent, went to sleep, died and went to heaven smelling of smoke but they got in. They did not repent and change behavior. God loved them unconditionally and let them into heaven.
When they died under discipline it proved they loved Jesus more than the pleasures of the world. They agreed that God's law was right and God had every right to kill them. They, by the Spirit, put to death the sins of the flesh. They were spiritual minded people. Free of the flesh they will obey God in heaven.
Christians who kill the desires of the flesh and work with Jesus are more pleasing to God. They also prove they can be trusted with more important positions in heaven.