Supposing what you say, consciousness is generated by the physical brain, so at death: poof. No more consciousness, no more mind, no more self.
I reject this view because it seems to me consciousness is not physical. Merely declaring it to be an illusion created by the brain or an emergent property of matter; these arguments are not convincing. Therefore, dualism is correct , and there is a spiritual realm apart from the physical realm containing at least consciousness and its contents (thoughts, ideas, feelings, sense of self, etc).