Subject + Verb + 了 + 多久
多久 (duōjiǔ) can ask about how much time has passed since something happened. This usage focuses on the elapsed time between a past event and the present moment.
你离开北京多久了?
Nǐ líkāi Běijīng duōjiǔ le?
How long have you been away from Beijing?
他出国多久了?
Tā chūguó duōjiǔ le?
How long has he been abroad?
你们分开多久了?
Nǐmen fēnkāi duōjiǔ le?
How long have you two been apart?