Go to Settings > Apps & Notifications > Notifications > Notification History, and toggle it on.