Yes, you can still file for divorce but you will not be able to finalize the process until the child is born and a determination of paternity is made. This delay allows the court to include the appropriate order for visitation and child support if applicable.