Purging Environments is more of a Puppet Server thing, where each additional environment loaded into RAM consumes resources.
For PuppetDB, the environment is just a field on a fact, catalog, or report dataset. The number of different environment values doesn't really take up more or less space in the database (sure, some B-Tree indexes will have additional branches, but that extra usage rounds to 0 at the scale of dozens or hundreds of distinct values).
Facts and Catalogs are replaced on every Puppet run. The report is retained for 14 days, and is likely what causes that environment value to show up in a historical summary.