Yes. People can still repent after they die up to the Last Judgement. Prayers for them will help, but the actual person has to also repent (have a change of mind and be transformed by God). The Church believes that this is only available for those who did not have a chance to become Orthodox in this life, who died at birth, who were abused, who were crippled, who did not know about The Faith, etc. Otherwise, The Church believes that if you want to get saved NOW and have the opportunity, then there is no salvation outside The Church. Even those who repent after death, will still have to become Orthodox in order to be considered saved (healed and transformed).