If two lines have the same slope, then they are always parallel, unless they are the same line. Parallel lines means they never touch, but if you have the same line, they would be touching.
If two lines have the same slope and y-intercepts, then they are the same line, therefore not parallel because they touch each other.