离家 + Distance/Duration
离家 (líjiā) means "away from home" or "to leave home" and describes the distance or act of being separated from one's home. It is often followed by a distance or duration to indicate how far from home someone or something is. It can be used both literally and figuratively.
他离家已经五年了,非常想念父母。
tā lí jiā yǐjīng wǔ nián le, fēicháng xiǎngniàn fùmǔ.
He has been away from home for five years and misses his parents very much.
学校离家不远,走路十分钟就到了。
xuéxiào lí jiā bù yuǎn, zǒulù shí fēnzhōng jiù dào le.
The school isn't far from home; it's just a ten-minute walk.
她十八岁离家去北京上大学。
tā shíbā suì lí jiā qù Běijīng shàng dàxué.
She left home at eighteen to attend university in Beijing.