No, sale of your rental property cannot be considered as earned income for the purpose of RRSP.
FunFact: Rental income on the other hand can be considered as earned income for the purpose of RRSP.