As noted, it will depend on where you live and if your name is on lease or house and so on.

But if the home is his, or he is the person renting, yes he can ask you to leave. The amount of time...