In The Sims 4, there isn't a specific "homeless" life state or gameplay feature. Sims are typically expected to have a place to live, whether it's a pre-built house, a custom-built home, or an apartment from the City Living expansion pack.
However, you can simulate a "homeless" situation by creating a storyline or role-playing scenario for your Sim. You can have your Sim live in public spaces like parks or community lots, or temporarily move them into an empty lot without any shelter. You can also restrict their access to certain amenities and comforts, making their living conditions more challenging.
Keep in mind that without using mods or custom content, the game mechanics of The Sims 4 do not explicitly support homelessness as a gameplay element. But with creative storytelling and role-playing, you can create the illusion of a homeless Sim and customize their experience within the game.