Filling for my stay at home wife and baby

We are not legally married, let me start there. My girlfriend will be a stay at home mom for the entire 2019 and I want to claim her as well as my child. How does it work?