In New Jersey, grandparents have the right to petition a court for parenting time and, in certain circumstances, custody of their grandchildren. Grandparents who have actually resided with their grandchildren are in a much better position to secure parenting time and her custody. The court will examine the relationship between the grandparents and the children, the relationship of the grandparents to the parents, the time that elapsed since the grandparents had contact with the children, and any other factor relevant to the best interests of the children.