Dependent

My husband and I live in the same state but not in the same county. I have a child prior to our marriage, if my husband gave me money would I be able to claim my child as a dependent? Or would my husband?