I have a vague recollection of a movie (or a video game with live-action cutscenes) about a group of pilots fighting a war in space against aliens.
They were based on what was essentially a futuristic aircraft carrier in space, where most of the scenes were filmed. Whenever somebody died in combat, it was their custom to remove all of their things, and every trace of them from the ship, and to never speak about them again so that it was as if they had never existed.
It was English language and I'm pretty certain that the cast were Americans, and that it was live action rather than CGI or anime.
I'm not 100% certain but it could be the Wing Commander movie.