Do you mind me asking where she's going? I have a similar situation. My boyfriend and I have been together 6 months now and I'll be leaving in July and then it'll be a year we've been together. But... I'm leaving in July to the armed forces for 6 months, then I'll come back. We plan to move in together, I think it's worth it if you ask me. I don't know where you are in the relationship with this girl but I believe it's worth it. Why not? Why break it off just because she's leaving? Just go with how you feel though.
Most people say no, but I say yes. You never know what might happen. I really believe that if people are meant to be in our lives, then we will find our way back to each other. Plus, you may learn something and have fun these next few months. And 9 months is a long time!