The definition of put someone up is:
(phrasal verb) to give someone a place to sleep
It’s late and I can’t find a taxi. Can you put me up for the night?
He is putting her up for a few weeks while she tries to find a place to live.