In every state of the US, you have to file different custody documents with a family court. Consult with a lawyer which is specialized in family law to make sure you have the correct paperwork.