You're right! It is a very common informal way to say "have a seat", but it literally just means "stay". I love these idiomatic expressions that are used instead of literal statements. My favorite is when you want someone to stop running, driving, walking, etc. Sometimes instead of the literal "stop", you'd say "simama!"/"stand!" instead, at least in Kenya.