It originates in Medieval Latin and was likely conceived as "remember the [concept of] dying", "remember you're (always) dying", that is "be mindful of death". In non-medieval Latin the phrase looks obscure, something like "don't forget to die". See here for further elaboration.Literal translation? What would that be?