These might include things like how good a parent you have been in the past, your child's preference if he/she's of a particular age, your income, etc. If both, you and your partner, have been good parents, the court might grant joint custody. Also, laws regarding custody differ from state to state.