For most of Church’s history, She prohibited cremation because because of degradation and blasphemy against the human body but then, in 1963, this ban was lifted by soon to be Saint, Pope Paul VI with the document ‘Piam et Constantem’. This document lifted the general prohibition against cremation:
And then Pope St. John Paul II promulgated the Code of Canon Law in 1983, with this new regulation in it:
§3. The Church earnestly recommends that the pious custom of burying the bodies of the deceased be observed; nevertheless, the Church does not prohibit cremation unless it was chosen for reasons contrary to Christian doctrine.
The Roman Catholic Church
For most of its history, the Roman Catholic Church had a ban against cremation. It was seen as the most sacrilegious act towards Christians and God, not simply blaspheming but physically declaring a disbelief in the resurrection of the body. In 1963, the Pope lifted the ban on cremation and in 1966 allowed Catholic priests to officiate at cremation ceremonies. The Church still officially prefers the traditional interment of the deceased. Despite this preference, cremation is now permitted as long as it is not done to express a refusal to believe in the resurrection of the body. 
So we see here judgements of the prudential order from time to time. For most of Church’s history cremation was prohibited, but since not too long ago this ban was lifted and now cremation is permitted under certain conditions.