No, using butter is important in keeping the fridge cake together. Butter hardens in the fridge, whereas margarine is always soft. Using margarine won't hold the cake's shape.