Yes. When you delete a product, its sales history remains in the reports. This means you can always see what has been sold, even if the product is no longer in your range. The reports reflect what has actually been sold, not what is currently in stock.
The product can no longer be sold, but it is shown in the reports to ensure correct accounting and traceability.