In jurisdictions like California, once you go over 30 days, if you have a squatter on your hands you will have to go through the slow, expensive court system to get them out. Apparently California patched up the laws. Now, simply by virtue of guests paying a transient occupancy tax, you can call the sheriff to haul them out immediately. Adios!
In the real world of renting, you do some sort of background check, credit check, and most importantly take a CASHIER'S CHECK, including the security deposit -- not a 50% credit card payment (as Airbnb does) which could turn out to be fraudulent.
Personally I wouldn't book someone beyond 10 days. I think of the worst guests I've had. Fortunately they only stayed 2 or 3 days.