Relative Morse Index Theory Without Compactness Assumption