No, in principle, it does not affect the scf calculation.
The graphene nanoribbon is quasi-one-dimensional system. In the simulation of graphene nanoribbon, the periodic condition is applied so that the vacuum is included in its unit cell. In details, if it is assumed that the ribbon is along the z direction, the vacuum is put along the x and y directions. In this case, the thickness of vacuum in the x and y direction should be sufficient in order to avoid the interaction between replicas of ribbon, in other words, the lengths of unit cell vectors along the x and y direction should large enough, at least, they must be 10% larger than the width of ribbon.