Even if you could theoretically endlessly survive in the vacuum of space without any resources, you would either be incinerated by a star, sucked into a black hole, be crushed by an asteroid, disintegrated upon entering the atmosphere of a planet, float out into eternal nothingness, or be subjected to one of many, many other possible living nightmares.