I always have a problem with the whole concept of heaven as it is now conceived.
Apart from the fact that it seems to lack any real theological base in the sense that we use the term now, Jesus seems to be saying something else.
Certainly Jesus used the word 'heaven' but generally in relation the 'Kingdom of heaven' and then in parables which illustrated what the Kingdom of heaven' was like. Matthew 13 is full of these references. In this respect it appears that Jesus is directing our attention to what we do now - the Kingdom that is. Certainly there are eschatological nuances in his words, but Jesus was not indicating that 'heaven' is some sort of 'get out of jail' free card - heaven was not a reward system for good behaviour.
So heaven is not a 'rewards system' for customer loyalty. It heaven is not a reward bonus then it appears we cannot, by definition, 'earn' our what into something we have labelled 'heaven'.
But we can present the 'Kingdom of heaven' now on earth if we follow those principles outlined by Jesus. And ushering in the Kingdom of heaven is achieved by our closer relationship to God - by becoming more 'like' God we also 'bring' the Kingdom.
What happens after death is another matter.